package com.blog.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.domain.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author makejava
 * @since 2024-09-11 14:20:26
 */

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
	List<String> selectPermByUserId(Long userid);
	

	List<Menu> selectAllRouterMenu();

	List<Menu> selectRouterMenuTreeByUserId(Long userId);

	List<Menu> selectAllMenu();
}
